package com.zlkj.pro.modular.admin.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.admin.model.dto.MaterialGroupAdminDTO;
import com.zlkj.pro.modular.admin.model.vo.MaterialGroupAdminVO;
import com.zlkj.pro.modular.common.entity.MaterialGroupEntity;

import java.util.List;

/**
 * @author 孙铭泽
 * @date 2022/9/24
 * @time 14:28
 */
public interface MaterialGroupAdminService extends IService<MaterialGroupEntity> {

    PageResult<MaterialGroupAdminVO> findPage(MaterialGroupAdminDTO materialGroupAdminDTO);

    List<MaterialGroupAdminVO> findList(MaterialGroupAdminDTO materialGroupAdminDTO);

    MaterialGroupAdminVO findDetail(MaterialGroupAdminDTO materialGroupAdminDTO);

    boolean add(MaterialGroupAdminDTO materialGroupAdminDTO);

    boolean edit(MaterialGroupAdminDTO materialGroupAdminDTO);

    boolean delete(MaterialGroupAdminDTO materialGroupAdminDTO);

}
